<?php

class config{

	private $server="localhost";
	private $user="root";
	private $pass="";
	private $db="hot-l2";
	private $conn;
		
	public function __construct(){}
	
	function connect(){
		$this->conn=mysql_connect($this->server,$this->user,$this->pass);
		mysql_select_db($this->db,$this->conn);
	}
	
	function close(){
		mysql_close($this->conn);
	}
}







